package cn.edu.wynu.oop.inherit;

public class StudentExtendPerson extends Person{
    String learnId;

    public String getLearnId() {
        return learnId;
    }

    public void setLearnId(String learnId) {
        this.learnId = learnId;
    }

    @Override
    public String toString() {
        return "StudentExtendPerson{" +
                "learnId='" + learnId + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
